﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SIMA.Core.Enums;
using System.IO;

namespace SIMA.Core.Utils.Security
{
    public static class LogUtils
    {
        private static string fileExtension = ".xml";

        internal static void RetrieveInformationToLog(string path, string filename,string stringpath)
        {
            StringBuilder strBuilder = new StringBuilder();
            strBuilder.Append(DateTime.Now.ToLongDateString());

            //Stream stream = new FileStream(
            StreamWriter streamWriter = new StreamWriter(Path.Combine(path, filename));
            streamWriter.WriteLine(stringpath);
            streamWriter.Flush();
            
        }
    }
}
